﻿<UserControl xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  x:Class="AppLab.Views.SearchControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="25" d:DesignWidth="425">
    
    <Grid x:Name="LayoutRoot" Background="White">
        
        <TextBlock Text="{Binding Path=ApplicationStrings.SelectedMobileBrandOnTerminalInfo, Source={StaticResource ResourceWrapper}}" 
                                   VerticalAlignment="Top" FontSize="13" Foreground="Black"
                                   Style="{StaticResource ContentTextStyle}"/>
        <ComboBox Name="mobileBrand" Height="23" Margin="90,0,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="100" SelectionChanged="mobileBrand_SelectionChanged" />

        <TextBlock Text="{Binding Path=ApplicationStrings.InputMobileTypeOnTerminalInfo, Source={StaticResource ResourceWrapper}}" 
                                   VerticalAlignment="Top"  Margin="200,0,0,0" HorizontalAlignment="Left" FontSize="13" Foreground="Black"
                                   Style="{StaticResource ContentTextStyle}"/>
        <sdk:AutoCompleteBox Name="autoCompleteBoxMbBrand" Height="23" IsTextCompletionEnabled="True" HorizontalAlignment="Left" 
                                             Width="120" Margin="265,0,0,0" VerticalAlignment="Top" IsDropDownOpen="True"
                                             TabNavigation="Cycle" GotFocus="autoCompleteBoxMbBrand_GotFocus"/>
        
        <Button Name="SearchButton" Content="{Binding Path=ApplicationStrings.SearchButtonOnTerminalInfo, Source={StaticResource ResourceWrapper}}"
                                HorizontalAlignment="Left" Margin="390,0,0,0" VerticalAlignment="Top"
                                Height="23" Click="SearchButton_Click" />
    </Grid>
</UserControl>
